package com.maserb.monitor.repository;

import com.maserb.monitor.entity.DeviceEntity;
import com.maserb.monitor.model.TreeItemModel;

import java.util.ArrayList;

public interface DeviceRepository {
    void save(DeviceEntity entity);
    DeviceEntity findOne(String id, String code);
}